﻿using System.Workflow.Activities;

namespace UpdateContentType
{
    partial class PortalWorkflow
    {
        #region Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference1 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            this.sendEmailError = new Microsoft.SharePoint.WorkflowActions.SendEmail();
            this.logError = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.logNoExecution = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.logTemplateUpdatedTFS = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.UpdateTemplateTFS = new System.Workflow.Activities.CodeActivity();
            this.logTemplateUpdatedPortal = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.UpdateTemplatePortal = new System.Workflow.Activities.CodeActivity();
            this.DefineAssociation = new System.Workflow.Activities.CodeActivity();
            this.faultHandlerSystemException = new System.Workflow.ComponentModel.FaultHandlerActivity();
            this.ElseDraftVersion = new System.Workflow.Activities.IfElseBranchActivity();
            this.ifPublishingVersion = new System.Workflow.Activities.IfElseBranchActivity();
            this.faultHandlersActivity = new System.Workflow.ComponentModel.FaultHandlersActivity();
            this.ifVersion = new System.Workflow.Activities.IfElseActivity();
            this.onWorkflowActivated = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
            // 
            // sendEmailError
            // 
            this.sendEmailError.BCC = null;
            this.sendEmailError.Body = null;
            this.sendEmailError.CC = null;
            correlationtoken1.Name = "workflowToken";
            correlationtoken1.OwnerActivityName = "PortalWorkflow";
            this.sendEmailError.CorrelationToken = correlationtoken1;
            this.sendEmailError.From = null;
            this.sendEmailError.Headers = null;
            this.sendEmailError.IncludeStatus = false;
            this.sendEmailError.Name = "sendEmailError";
            this.sendEmailError.Subject = null;
            this.sendEmailError.To = null;
            this.sendEmailError.MethodInvoking += new System.EventHandler(this.sendEmailError_MethodInvoking);
            // 
            // logError
            // 
            this.logError.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logError.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowError;
            activitybind1.Name = "faultHandlerSystemException";
            activitybind1.Path = "Fault.Message";
            this.logError.HistoryOutcome = "";
            this.logError.Name = "logError";
            this.logError.OtherData = "";
            this.logError.UserId = -1;
            this.logError.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // logNoExecution
            // 
            this.logNoExecution.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logNoExecution.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            this.logNoExecution.HistoryDescription = "Documento em versão de rascunho não atualiza os tipos de conteúdo associados";
            this.logNoExecution.HistoryOutcome = "";
            this.logNoExecution.Name = "logNoExecution";
            this.logNoExecution.OtherData = "";
            this.logNoExecution.UserId = -1;
            // 
            // logTemplateUpdatedTFS
            // 
            this.logTemplateUpdatedTFS.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logTemplateUpdatedTFS.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            activitybind2.Name = "PortalWorkflow";
            activitybind2.Path = "historyDescription";
            this.logTemplateUpdatedTFS.HistoryOutcome = "";
            this.logTemplateUpdatedTFS.Name = "logTemplateUpdatedTFS";
            this.logTemplateUpdatedTFS.OtherData = "";
            this.logTemplateUpdatedTFS.UserId = -1;
            this.logTemplateUpdatedTFS.MethodInvoking += new System.EventHandler(this.logTemplateUpdated_MethodInvoking);
            this.logTemplateUpdatedTFS.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // UpdateTemplateTFS
            // 
            this.UpdateTemplateTFS.Name = "UpdateTemplateTFS";
            this.UpdateTemplateTFS.ExecuteCode += new System.EventHandler(this.UpdateTemplateTFS_ExecuteCode);
            // 
            // logTemplateUpdatedPortal
            // 
            this.logTemplateUpdatedPortal.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logTemplateUpdatedPortal.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            activitybind3.Name = "PortalWorkflow";
            activitybind3.Path = "historyDescription";
            this.logTemplateUpdatedPortal.HistoryOutcome = "";
            this.logTemplateUpdatedPortal.Name = "logTemplateUpdatedPortal";
            this.logTemplateUpdatedPortal.OtherData = "";
            this.logTemplateUpdatedPortal.UserId = -1;
            this.logTemplateUpdatedPortal.MethodInvoking += new System.EventHandler(this.logTemplateUpdated_MethodInvoking);
            this.logTemplateUpdatedPortal.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // UpdateTemplatePortal
            // 
            this.UpdateTemplatePortal.Name = "UpdateTemplatePortal";
            this.UpdateTemplatePortal.ExecuteCode += new System.EventHandler(this.UpdateTemplatePortal_ExecuteCode);
            // 
            // DefineAssociation
            // 
            this.DefineAssociation.Name = "DefineAssociation";
            this.DefineAssociation.ExecuteCode += new System.EventHandler(this.DefineAssociation_ExecuteCode);
            // 
            // faultHandlerSystemException
            // 
            this.faultHandlerSystemException.Activities.Add(this.logError);
            this.faultHandlerSystemException.Activities.Add(this.sendEmailError);
            this.faultHandlerSystemException.FaultType = typeof(System.Exception);
            this.faultHandlerSystemException.Name = "faultHandlerSystemException";
            // 
            // ElseDraftVersion
            // 
            this.ElseDraftVersion.Activities.Add(this.logNoExecution);
            this.ElseDraftVersion.Name = "ElseDraftVersion";
            // 
            // ifPublishingVersion
            // 
            this.ifPublishingVersion.Activities.Add(this.DefineAssociation);
            this.ifPublishingVersion.Activities.Add(this.UpdateTemplatePortal);
            this.ifPublishingVersion.Activities.Add(this.logTemplateUpdatedPortal);
            this.ifPublishingVersion.Activities.Add(this.UpdateTemplateTFS);
            this.ifPublishingVersion.Activities.Add(this.logTemplateUpdatedTFS);
            ruleconditionreference1.ConditionName = "IsPublishingVersion";
            this.ifPublishingVersion.Condition = ruleconditionreference1;
            this.ifPublishingVersion.Name = "ifPublishingVersion";
            // 
            // faultHandlersActivity
            // 
            this.faultHandlersActivity.Activities.Add(this.faultHandlerSystemException);
            this.faultHandlersActivity.Name = "faultHandlersActivity";
            // 
            // ifVersion
            // 
            this.ifVersion.Activities.Add(this.ifPublishingVersion);
            this.ifVersion.Activities.Add(this.ElseDraftVersion);
            this.ifVersion.Name = "ifVersion";
            // 
            // onWorkflowActivated
            // 
            this.onWorkflowActivated.CorrelationToken = correlationtoken1;
            this.onWorkflowActivated.EventName = "OnWorkflowActivated";
            this.onWorkflowActivated.Name = "onWorkflowActivated";
            activitybind4.Name = "PortalWorkflow";
            activitybind4.Path = "workflowProperties";
            this.onWorkflowActivated.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            // 
            // PortalWorkflow
            // 
            this.Activities.Add(this.onWorkflowActivated);
            this.Activities.Add(this.ifVersion);
            this.Activities.Add(this.faultHandlersActivity);
            this.Name = "PortalWorkflow";
            this.CanModifyActivities = false;

        }

        #endregion

        private Microsoft.SharePoint.WorkflowActions.SendEmail sendEmailError;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logError;
        private System.Workflow.ComponentModel.FaultHandlerActivity faultHandlerSystemException;
        private System.Workflow.ComponentModel.FaultHandlersActivity faultHandlersActivity;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTemplateUpdatedTFS;
        private CodeActivity UpdateTemplateTFS;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTemplateUpdatedPortal;
        private CodeActivity UpdateTemplatePortal;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logNoExecution;
        private CodeActivity DefineAssociation;
        private IfElseBranchActivity ElseDraftVersion;
        private IfElseBranchActivity ifPublishingVersion;
        private IfElseActivity ifVersion;
        private Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated onWorkflowActivated;
























































    }
}
